AnyInt Docs
Models

Models

Model selection in AnyInt is a product decision, not only a code decision. You are choosing a request shape, an output modality, and an operational path at the same time.

Model selection in AnyInt is a product decision, not only a code decision. You are choosing a request shape, an output modality, and an operational path at the same time.

Start with the models route

The safest workflow is:

  1. Query GET /openai/v1/models
  2. Confirm the model ID available to your account
  3. Save that exact data[].id in your application config

Do not treat a marketing label or provider nickname as the source of truth.

Pick a compatibility family first

FamilyBest forRequest shapeOutput style
OpenAI-compatiblefastest first integrationOpenAI Chat Completionssync or streaming
Anthropic-compatibleClaude-style content blocks and token countingAnthropic Messages APIsync
Gemini-compatiblegenerateContent, Gemini streaming, native function declarationsGemini-nativesync or streaming
DashScope mediaprompt-driven image and video generationmedia-specificsync for images, task-based for video
AI Musicsong generation, covers, stems, lyrics, MVmusic-specifictask-based

What to evaluate before choosing a model

QuestionWhy it matters
Which compatibility family do I want?OpenAI, Anthropic, and Gemini routes use different request shapes
Is the route sync, stream, or task-based?Media and music flows often return task IDs instead of final artifacts
Do I need text, image, video, or music output?Not every family supports every modality
Is this workload latency-sensitive or budget-sensitive?Routing and fallback policy usually start here
Is this for production or exploration?Subscription and key restrictions can differ by environment
  • Use the OpenAI-compatible route for the fastest first integration
  • Use provider-native routes when you need provider-specific request formats
  • Use DashScope media routes for image or video creation
  • Use AI Music when the output is a song, cover, lyric package, stem split, or MV workflow

Keep model selection stable in production

  • Store model IDs in config, not inline in application code
  • Keep separate model defaults for staging and production
  • Document any fallback behavior next to the primary model choice
  • Re-sync the models route regularly if your product depends on newly added models

Account-level variability

Model access can vary by:

  • subscription type
  • custom model purchases
  • key-level restrictions
  • organization policies

That is why this docs set references the models route repeatedly instead of assuming one universal public list.

On this page