AI Gateway: Import and Export Model Prices

You can now import and export the model prices on a built-in AI Gateway provider as a CSV or JSON file. Fill in negotiated rates from a spreadsheet instead of one cell at a time, or export a provider’s prices to review or copy them.

Open Settings → AI Providers, click Edit on a built-in provider, and use the Import / Export menu beside Available Models. Both formats use a model column plus any of these prices, in dollars per million tokens:

csv
model,input_per_1m,output_per_1m,cache_read_per_1m,cache_write_per_1m,cache_write_1h_per_1m
claude-opus-5-5,3.50,17.50,0.18,,

JSON takes a list of objects with the same keys. Only model is required, and an empty price leaves that cell unchanged, so a file can carry just the rates your contract changes.

An import only fills the form, and nothing changes until you click Save. A file with an unknown column, an invalid price, or a repeated model is rejected as a whole, and the import summary lists any models the catalog doesn’t have. An exported file imports back without changing anything.

Getting started

See custom pricing for how provider prices apply to budgets and spend analytics.