messages shape and choices[0].message.content response access.
Save your provider credentials in Atlaso before sending a call.
For a first parity check, set the key’s memory to Off and compare the answers
with your old gateway. The sample already sends
x-atlaso-user, so the same
code keeps working once memory is on for a key set to Each user of my app. A
Me key with memory on refuses x-atlaso-user (403 memory_scope_owner). Keep the same x-atlaso-user on every
call; omitting it skips per-user memory, or returns user_id_required when the
key requires memory.
Check model names
Use Atlaso catalog IDs such asopenai/gpt-4o and
anthropic/claude-opus-5.5. Do not assume every alias or suffix carries over.
Models describes exact matching and tool restrictions.
Check provider routing options
For models with several hosts, Atlaso acceptsprovider.order, provider.only,
provider.ignore and provider.allow_fallbacks. Lists contain Atlaso host slugs,
not display names. Other routing fields get a 400 naming the unsupported field.
An empty only list means no filter. A host-specific catalog row pins the host.
Atlaso chooses from live, configured hosts with your enabled, working keys.
order takes precedence over catalog host order. After an eligible failure,
it can switch to the next host before an answer starts. allow_fallbacks: false
stops switching but still allows one retry on the selected host. See
Errors for eligible failures, wait times and the three-attempt
limit. x-atlaso-provider gives the API hostname of the host that answered (for
example api.together.ai), not its slug, so do not copy it into provider.order.
Each attempt has its own record and cost.
Other differences to check
- Billing: Model calls use your saved provider keys, with no Atlaso markup, and never use Atlaso credit. Saving, keeping and using memories is free. Credits pay only for Atlaso learning, the AI clean-up of saved messages from Gateway calls and the Plugin.
- Memory: choose Off for an initial parity check. A new key for your own memory starts on Use and learn: it saves the messages sent through it, and Atlaso’s AI cleans them using Atlaso credit. For a shared app, set Memory for to Each user of my app and follow the memory guide.
- Discovery:
GET /v1/modelslists catalog prices, abilities and whether your saved keys can use each model. See Models. - Errors and retries: multi-host routing can retry or switch before an answer starts. The example disables client retries, which are separate from Atlaso’s routing attempts. Check Errors, including errors inside an already-started stream.
- Responses: the Gateway also accepts
responses.create. See Responses API for provider-specific limits. - Provider-native APIs: use Chat Completions or Responses. Atlaso translates supported fields when the provider uses a different native format.