Choosing models
How to pick the right chat, image, video and audio model on APISea for quality, latency and cost — with recommended defaults and fallbacks.
← Toàn bộ tài liệuAPISea lists more than 250 models. This guide gives sensible defaults so you can start quickly and then tune for quality, speed or cost. Prices change over time; the pricing page is always current.
Model ids
Use the id shown on each model page, for example gpt-5.5, claude-sonnet-4-6 or seedance-2.0. GET /v1/models returns the full list. Ids are matched case-insensitively, and dated snapshot ids (such as claude-sonnet-4-5-20250929) are available when you need to pin a version.
Chat and reasoning
| Goal | Start with | Also consider |
|---|---|---|
| Best overall quality | claude-opus-4-8, gpt-5.5 | claude-opus-5-5, gemini-3.1-pro-preview |
| Balanced quality and cost | claude-sonnet-4-6, gemini-3.5-flash | gpt-5.4-mini, kimi-k3 |
| Lowest cost at scale | gemini-3.5-flash-lite, claude-haiku-5-5 | deepseek-v4-flash, qwen3.8-flash |
| Strong reasoning on a budget | deepseek-v4-pro | qwen3.8-max, glm-5.1 |
| Coding agents | claude-opus-4-8 | claude-sonnet-4-6, gpt-5.5 |
Tips:
- Long, repeated system prompts benefit from prompt caching. Claude, OpenAI and Gemini models bill cached input at a lower rate; see the context-cache guides in the API reference.
- Use structured outputs (
response_formatwith a JSON schema) instead of parsing free text. - Cap spend with
max_tokens/max_completion_tokens, especially for reasoning models.
Images
| Goal | Start with | Notes |
|---|---|---|
| General purpose, text in images | gpt-image-2 | 1K/2K/4K tiers, reference images supported |
| Photoreal marketing visuals | seedream-5-5 | Strong composition and typography |
| Fast edits with references | gemini-3-pro-image-preview | Conversational editing |
| Artistic styles | midjourney | Action-based pricing |
Video
| Goal | Start with | Notes |
|---|---|---|
| Cinematic quality with audio | seedance-2.0 | Per-second pricing by resolution |
| Fast, cost-effective drafts | veo3.1-fast | Good prompt adherence |
| Image-to-video with motion control | kling-v3 | Pro and sound variants |
Video jobs take from tens of seconds to several minutes. Submit, store the task_id, and poll GET /v1/tasks/{task_id} or use a webhook callback where supported.
Audio and music
- Songs and instrumentals:
suno— create, extend, cover, stems and more, priced per action. - Speech-to-text:
whisper-1for low cost,gpt-4o-transcribefor higher accuracy.
Fallbacks
Because every model in a category shares the same request shape, a fallback is a one-line change. A simple pattern:
MODELS = ["claude-sonnet-4-6", "gpt-5.5", "gemini-3.5-flash"]
def ask(messages):
last = None
for m in MODELS:
try:
return client.chat.completions.create(model=m, messages=messages, timeout=60)
except Exception as e: # 429 / 5xx
last = e
raise lastPhát hiện lỗi trong tài liệu này? Gửi email đến support@apisea.ai.