fish-ai icon indicating copy to clipboard operation
fish-ai copied to clipboard

feat: Add support for xAI API

Open devth opened this issue 7 months ago • 4 comments

💡 Summary

xAI is fast and cheap!

📚 References

[1] https://console.x.ai/

devth avatar Apr 18 '25 14:04 devth

Is this the same as Groq? See #197

Realiserad avatar Apr 18 '25 15:04 Realiserad

No, I was confused by this too. Apparently https://groq.com/ is a separate thing. xAI's product is "Grok". xAI is OpenAI compatible so it should be simple I think?

devth avatar Apr 18 '25 15:04 devth

Does this work?

[grok]
provider = openai
base_url= https://api.x.ai/v1
model = grok-3
api_key = <paste API here>

Realiserad avatar Apr 18 '25 18:04 Realiserad

This issue has been inactive for 30 days. It will be automatically closed after 14 days if no further activity occurs.

github-actions[bot] avatar May 19 '25 02:05 github-actions[bot]

This issue was closed because of inactivity.

github-actions[bot] avatar Jun 02 '25 02:06 github-actions[bot]