Quick Start
Get started with Fireworks in under 2 minutes:Add Provider in Model Catalog
Before making requests, add Fireworks to your Model Catalog:- Go to Model Catalog → Add Provider
- Select Fireworks
- Enter your Fireworks API key
- Name your provider (e.g.,
fireworks-ai)
Complete Setup Guide
See all setup options and detailed configuration instructions
Fireworks Capabilities
Embeddings
Generate embeddings using Fireworks models:Vision Models
Process images with vision models:Image Generation
Generate images with Stable Diffusion:Function Calling
Use function calling with Fireworks models:Function Calling Guide
Explore function calling examples and best practices
Grammar Mode
Fireworks lets you define formal grammars to constrain model outputs. You can use it to force the model to generate valid JSON, speak only in emojis, or anything else. (Originally created by GGML) Grammar mode is set with theresponse_format param. Just pass your grammar definition with {"type": "grammar", "grammar": grammar_definition}
Let’s say you want to classify patient requests into 3 pre-defined classes:
Fireworks Grammar Guide
Learn more about grammar mode and examples
JSON Mode
Force JSON output with optional schema validation:Fireworks JSON Mode Guide
Learn more about JSON mode
Supported Models
Fireworks Models
View the complete list of models available on Fireworks
Next Steps
Gateway Configs
Add fallbacks, load balancing, and more
Observability
Monitor and trace your Fireworks requests
Prompt Library
Manage and version your prompts
Metadata
Add custom metadata to requests
SDK Reference
Complete Portkey SDK documentation

