DEV Community

ModelFild
ModelFild

Posted on

One API key, 700+ models: why I stopped juggling vendor accounts

I work on ModelFold. This is a walkthrough of the public catalog and the OpenAI-compatible API as they stood on 14 November 2026. Prices move. Treat the live pricing page as the invoice, not this article.

Most AI side projects die in the accounts tab.

You start with one chat model. Then you need an image model for the landing page, a video model for the demo, a TTS voice for the onboarding clip. Each vendor wants its own key, its own SDK, its own dashboard, and a card on file. Switching a model is never "change the model string". It is a new account, a new request shape, and a new invoice.

ModelFold is the opposite of that setup. One prepaid-credit account. One OpenAI-compatible key. A public catalog that, on 14 November 2026, listed 700+ models from 92 providers — 702 marketplace listings if you count variants. Chat, video, image, audio, 3D and office are on the same bill. That catalog size is why we describe it as the world's largest AI model gateway; the number you can verify is the directory, not a third-party ranking.

Create a key here: modelfold.ai.

What "one key" actually means

The OpenAI-compatible base URL is:

https://modelfold.ai/v1
Enter fullscreen mode Exit fullscreen mode

Chat, image, video and audio share the same host and the same Authorization: Bearer header. You change the path and the model id.

export MODELFOLD_API_KEY="your_key"

# list what you can actually call today
curl -sS https://modelfold.ai/v1/models \
  -H "Authorization: Bearer $MODELFOLD_API_KEY"
Enter fullscreen mode Exit fullscreen mode

A chat call looks like any other OpenAI-style client:

curl https://modelfold.ai/v1/chat/completions \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5-5",
    "messages": [{"role":"user","content":"Summarize this PR in four bullets."}],
    "max_tokens": 400
  }'
Enter fullscreen mode Exit fullscreen mode

An image call uses the same key on a different path:

curl https://modelfold.ai/v1/images/generations \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2",
    "prompt": "A whiteboard photo of a 700-model API gateway, documentary lighting",
    "n": 1
  }'
Enter fullscreen mode Exit fullscreen mode

Video is the same pattern on /v1/videos/generations. Model ids come from GET /v1/models or from the market, not from memory. The catalog changes.

Python, if you already have the OpenAI SDK:

from openai import OpenAI

client = OpenAI(
    api_key="your_key",
    base_url="https://modelfold.ai/v1",
)

chat = client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[{"role": "user", "content": "Give me a 3-step plan to batch-generate product stills."}],
)
print(chat.choices[0].message.content)
Enter fullscreen mode Exit fullscreen mode

That is the whole point: the application code stays still. The model field is the switch.

Coding agents: Claude Code, Codex, Cursor

The same account also speaks the protocols those tools already use.

Claude Code CLI — Anthropic-compatible gateway. The client appends /v1/messages itself, so the base URL stops at /anthropic.

export ANTHROPIC_BASE_URL=https://modelfold.ai/anthropic
export ANTHROPIC_AUTH_TOKEN=$MODELFOLD_API_KEY
export ANTHROPIC_MODEL=claude-sonnet-5-5
export ANTHROPIC_DEFAULT_SONNET_MODEL=claude-sonnet-5-5
export ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-5-5
export ANTHROPIC_DEFAULT_HAIKU_MODEL=claude-haiku-5-5
Enter fullscreen mode Exit fullscreen mode

Haiku is required. Background tasks will ask for a Haiku-tier id; if it is missing they fall back to a vendor name ModelFold does not serve. Discover ids with GET https://modelfold.ai/anthropic/v1/models. Walkthrough: Claude Code CLI.

Codex CLI — OpenAI Responses API. Codex appends /responses itself.

model = "gpt-6-astra"
model_provider = "ModelFold"
[model_providers.ModelFold]
name = "ModelFold"
base_url = "https://modelfold.ai/openai/v1"
env_key = "MODELFOLD_API_KEY"
wire_api = "responses"
Enter fullscreen mode Exit fullscreen mode

Put this in ~/.codex/config.toml (user-level; project-level model_providers is ignored). List slugs from GET https://modelfold.ai/openai/v1/models. Guide: Codex CLI.

Cursor — override the OpenAI base URL if your plan exposes that setting:

URL: https://modelfold.ai/v1
API Key: your ModelFold key
Model ID: claude-opus-5-5
Enter fullscreen mode Exit fullscreen mode

The Cursor page is a configuration note, not a claim that every agent feature was re-tested in that client. Guide: Cursor.

Price: a dated snapshot, not a slogan

Billing is prepaid credits. No monthly seat. 200 credits = $1 USD on the public packs ($5 → 1,000 credits). Failed generations are not charged. Credits do not expire.

The homepage comparison table is computed against the same model's official list price. I am not going to freeze a "save X%" headline here, because that number is regenerated from the live catalog. On 14 November 2026 the public table included rows like these:

Model Unit ModelFold Official list on our table
GPT Image 2 (text to image) per image $0.04 $0.219
Kling 4.0 keyframe, 720p, 5s per video $0.855 $1.1775
Seedance 2.5, 480p, 5s per 5 seconds $0.84 see live row
Claude Haiku 4.5 input per 1M tokens $0.32 $1.00
Claude Fable 5.2 input per 1M tokens $3.84 $8.00

Those dollars are display prices from modelfold.ai/pricing on that date. Larger packs add bonus credits; do not reverse a model rate from the $50 or $500 pack. If a row is marked as an estimated official reference, treat it as a reference, not a quote from the vendor's invoice.

Direct routes, not a mashed-up "almost that model"

The product claim on the homepage is straightforward: each listing calls the original model, with more than one route behind it so a busy path can fail over. A generation that fails is $0. You are billed for a result.

I did not run a paid generation while writing this article. The curl examples above are the request shape. Confirm a key with GET /v1/models before you spend.

When this is the wrong tool

If you already have a single-vendor contract with committed volume, stay there. If you need a model that is not on the catalog, it is not on the catalog — check the market rather than assuming a name from a launch blog. If you are serving weights on your own GPU, this is a hosted API, not a local runtime.

If you are tired of five dashboards for one prototype, one key is the whole pitch.

Register, create a key, and call the catalog: https://modelfold.ai/?utm_source=devto&utm_medium=article&utm_campaign=700-launch

Chinese homepage: https://modelfold.ai/zh/ · Market: https://modelfold.ai/market · Machine-readable catalog: https://modelfold.ai/llms.txt

Top comments (0)