Models

Compare the pricing, performance, and features of 60+ top AI models, seamlessly integrated through a unified API.

Compare Models {{ compareCount }}
Card View
List View
All {{ cat.name }}
Sorting Options:
Providers:

{{ model.name }}

{{ model.provider }}
{{ model.billingModeLabel }}
{{ category.name }}

{{ model.description }}

{{ band.range_label }}
Input: {{commonSite.currencySymbol}}{{ band.input }}{{ band.unit_suffix }}
Output: {{commonSite.currencySymbol}}{{ band.output }}{{ band.unit_suffix }}
Cache hit: {{commonSite.currencySymbol}}{{ band.cache_read }}{{ band.unit_suffix }}
Cache creation: {{commonSite.currencySymbol}}{{ band.cache_creation }}{{ band.unit_suffix }}
Billing: {{commonSite.currencySymbol}}{{ model.callPrice.price }}{{ model.callPrice.unit_suffix }}
{{ price.label }} Text generation: {{commonSite.currencySymbol}}{{ price.text }}{{ price.unit_suffix }} Video input: {{commonSite.currencySymbol}}{{ price.video }}{{ price.unit_suffix }}
{{ tag }}
View Details {{ isModelCompared(model.id) ? 'Remove' : '+ Compare Models' }}

Compare Models

Comparison Item
{{ model.name }}
{{ model.provider }}
Model Category {{ model.categoryLabel || '-' }}
Billing Mode {{ model.billingModeLabel }}
Context Length {{ model.contextLength }}
Price Configuration
{{ group.title }} {{ row.label }} {{commonSite.currencySymbol}}{{ row.amount }}{{ row.unitSuffix }}
Capability Tags {{ model.tagNames.length ? model.tagNames.join('、') : '-' }}
Release Date {{ model.releaseDate }}
Add Model

Model Description

{{ activeModel.description }}

Model Capabilities
{{ cap }}
Release Date
{{ activeModel.releaseDate }}
Output Capabilities
Context length: {{ activeModel.contextLength }}
Price Configuration
{{ group.title }} {{ row.label }} {{commonSite.currencySymbol}}{{ row.amount }}{{ row.unitSuffix }}
{{ group.title }}
{{ row.label }} {{commonSite.currencySymbol}}{{ row.amount }}{{ row.unitSuffix }}

Code Example (Python)

{{ activeModel.description }}

                            
import requests

url = "{{ commonSite.siteType == 'overseas' ? 'https://gw.apismart.ai' : 'https://gw.meowrouter.cn' }}/v1/images/generations"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
}
data = {
    "model": "{{ activeModel ? activeModel.modelSlug : 'Model Details' }}",
    "prompt": "A mountain village in the morning light, ink painting style",
    "size": "2K"
}

response = requests.post(url, headers=headers, json=data)
result = response.json()
# Image URL (valid for 15 days, please save in time)
print(result["data"][0]["url"])
print(f"Generated {result['usage']['generated_images']} images, cost ¥{result['usage']['generated_images'] * 0.22:.2f}")
                            
                        
                            
import requests
import time

API_KEY = "YOUR_API_KEY"
BASE = "{{ commonSite.siteType == 'overseas' ? 'https://gw.apismart.ai' : 'https://gw.meowrouter.cn' }}"

# 1. Create video task
data = {
    "model": "{{ activeModel ? activeModel.modelSlug : 'Model Details' }}",
    "content": [
        {"type": "text", "text": "A cat running on the beach, cinematic, sunset, 4k"}
    ],
    "duration": 4,
    "resolution": "720p",
    "ratio": "16:9",
    "watermark": False
}
resp = requests.post(
    f"{BASE}/v1/video/tasks",
    headers={"Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json"},
    json=data
).json()

task_id = resp["id"]
print(f"Task created: {task_id}")

# 2. Poll until completion
while True:
    s = requests.get(
        f"{BASE}/v1/video/tasks/{task_id}",
        headers={"Authorization": f"Bearer {API_KEY}"}
    ).json()
    if s["status"] == "succeeded":
        print(f"Generation successful! Video: {s['content']['video_url']}")
        break
    elif s["status"] == "failed":
        print(f"Failed: {s['error']['message']}")
        break
    time.sleep(5)
                            
                        
                            
import requests
import time

API_KEY = "YOUR_API_KEY"
BASE = "{{ commonSite.siteType == 'overseas' ? 'https://gw.apismart.ai' : 'https://gw.meowrouter.cn' }}"

# 1. Create video task
data = {
    "model": "happyhorse-1.0",
    "prompt": "Miniature city night view, flashing lights, a train slowly passing by",
    "duration": 5,
    "size": "720P"
}
resp = requests.post(
    f"{BASE}/v1/video/tasks",
    headers={"Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json"},
    json=data
).json()

task_id = resp["id"]
print(f"Task created: {task_id}")

# 2. Poll until completion
while True:
    s = requests.get(
        f"{BASE}/v1/video/tasks/{task_id}",
        headers={"Authorization": f"Bearer {API_KEY}"}
    ).json()
    if s["status"] == "succeeded":
        print(f"Generation successful! Video: {s['content']['video_url']}")
        break
    elif s["status"] == "failed":
        print(f"Failed: {s['error']['message']}")
        break
    time.sleep(5)
                            
                        
                            
import requests

url = "{{ commonSite.siteType == 'overseas' ? 'https://gw.apismart.ai' : 'https://gw.meowrouter.cn' }}/v1/chat/completions"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
}
data = {
    "model": "{{ activeModel ? activeModel.modelSlug : 'Model Details' }}",
    "messages": [{"role": "user", "content": "Hello!"}],
    "temperature": 0.7
}

response = requests.post(url, headers=headers, json=data)
print(response.json()["choices"][0]["message"]["content"])
                            
                        

Quick Integration

Simply use model= {{ activeModel.modelSlug }} in your code to call the model. Please refer to the documentation for details.