CLI terminology: The Foundry provider is
--provider azure, or --azure when you connect one harness. Harness configs display the label Fireworks on Microsoft Foundry. With Foundry, --model is your Azure deployment name, such as FW-GLM-5.2, not a Fireworks serverless ID such as glm-fast-latest.Requirements
- A Microsoft Foundry resource with a Fireworks model deployment
- The resource endpoint and Azure API key
- FireConnect installed
Configure Foundry as the default
Set the Foundry endpoint once. New connections for supported harnesses use it until you change the default provider.{env:AZURE_API_KEY} reference. To store the current value literally, add:
Connect a harness
Use the deployment name from Foundry:--model, FireConnect defaults to FW-GLM-5.2.
Accepted endpoint formats
Pass any of these Foundry URLs to--base-url. FireConnect converts it to https://<resource>.services.ai.azure.com/openai/v1:
- Bare resource root (
https://<resource>.services.ai.azure.com) - Portal project endpoint (
.../api/projects/<name>) - Foundry Models route (
.../models) - A complete OpenAI-compatible base URL (
.../openai/v1)
Route one command through Foundry
Route a single harness through Foundry without changing global config:--azure alone reuses it:
fireconnect <harness> status reports the provider, endpoint, and model. See Coding Harnesses for files changed and restore behavior.
fireconnect model list shows the Fireworks serverless catalog, not Foundry deployments. Enter a Foundry deployment name with --model.Switch or disconnect
You do not need to run
off before reconnecting through Fireworks. The saved Azure endpoint and key remain available if you switch back later.
off does not change the global provider. If the provider remains azure, the next connection for a supported harness will use Foundry again.
Verify routing
azure and that the endpoint and deployment name are correct.