Prepare the project
- Connect a Claude provider in Providers and allow the intended models in Models.
- Create a project key in API keys.
- Use
https://api.aixy-gateway.comas the gateway address, or your deployment’s public inference address. Omit the/v1suffix.
Choose models
Use native Claude destinations for Claude-specific features. For routing aliases, configure the model IDs used by your client.Configure Claude Desktop
Enable Help → Troubleshooting → Enable Developer Mode and restart Desktop, then open Developer → Configure Third-Party Inference. Select Gateway, Static API key and Bearer authentication. Enter the gateway address and your project key, test the connection, and apply changes. Desktop uses its own configuration; terminal exports do not configure it. If your organization manages the settings, ask its administrator to update them. For custom model aliases or managed deployments, use Claude’s Desktop configuration reference.Configure Claude Code
Set these variables in the terminal where you start Claude Code:/status to check
the address and credential source, then /model to select an available model.
For advanced model mappings or conflicting client settings, follow
Claude’s gateway guide.
Verify the connection
Send a message, attach a file if your workflow needs it, and check the request in Activity for the project, resolved model, usage and any policy rejection. If a model is unavailable, check project access and its exact ID or routing alias. A hard budget reserves maximum work before execution, which can require more headroom than the final charge. Claude Code sends a largemax_tokens on current models, and the full output limit
is reserved for every request in flight; the CLAUDE_CODE_MAX_OUTPUT_TOKENS environment variable
in Claude Code’s reference lowers it. Policy errors
identify the feature and constraint; ask the policy owner to review
budgets or guardrails. Input support does not imply that
binary or remotely stored file contents were inspected.
Use WebSearch with hard budgets
Claude Code’s WebSearch uses Anthropic-hosted search. Supported native Anthropic search requests can run under hard budgets when they include a finite search limit and the effective tariff covers both tokens andweb_search_requests units. Prepare reference prices through model discovery or
add the unit rate in Cost Center → Price Book → Additional usage when using a custom price.
An input declaration on a custom endpoint or Bedrock Messages support does not enable hosted search.
The reservation covers internal search iterations, not just the final answer and search fee. It
can require ten full native input contexts, currently 10,000,000 input tokens, plus conservative
output and search charges. Both the remaining hard budget and a configured TPM allowance must have
that headroom. Complete usage settles the actual attributed amount. Without a complete provider-reported monetary
receipt, missing final usage or a cancelled response can leave the reservation unresolved. See
Provider-hosted web search for bounds and pricing.
WebSearch and WebFetch have different execution paths in Claude Code. A successful page fetch does
not establish that a hosted search request satisfies the active budget and TPM constraints. Use
the request’s policy details in Activity to distinguish an unsupported definition, incomplete
pricing, insufficient budget capacity, and insufficient token allowance.
Adding the Aixy MCP connector connects tools separately from model
inference. Keep API keys and private file contents out of support reports; include the request ID
from Activity when reporting a failure.