research-llm-apis 2026-04-04
Summary
A new GitHub repository, "research-llm-apis," was released on April 4, 2026, documenting research into the HTTP APIs of various Large Language Model (LLM) providers. This initiative supports a significant update to the LLM Python library and CLI tool, which currently abstracts over hundreds of LLMs from numerous vendors. The update aims to accommodate new features like server-side tool execution, which the existing abstraction layer cannot handle. The research involved using Claude Code to analyze Python client libraries for Anthropic, OpenAI, Gemini, and Mistral, generating `curl` commands to capture raw JSON outputs for both streaming and non-streaming modes across diverse scenarios. Both the scripts and their captured outputs are now available in the repository.
Key takeaway
For AI Architects designing or updating LLM abstraction layers, you should prioritize direct API research into leading providers like Anthropic, OpenAI, Gemini, and Mistral. Understanding their raw JSON structures and new features, such as server-side tool execution, is critical to building future-proof and extensible frameworks that can adapt to rapid LLM advancements.
Key insights
Analyzing LLM provider APIs directly informs robust abstraction layer design for evolving features.
Principles
- Direct API analysis is crucial.
- Abstraction layers need feature extensibility.
Method
Claude Code analyzed Python client libraries (Anthropic, OpenAI, Gemini, Mistral) to craft `curl` commands, capturing raw JSON for streaming and non-streaming LLM API interactions.
In practice
- Use `curl` for raw API inspection.
- Examine client libraries for API patterns.
Topics
- LLM APIs
- HTTP APIs
- Tool Execution
- Abstraction Layers
- Python Client Libraries
Code references
Best for: AI Architect, AI Engineer, Machine Learning Engineer, Software Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Simon Willison's Weblog.