Skip to content
AI.info

tools

Fern SDK Generator

Fern generates typed client SDKs from API specifications, adds tests and custom code, and publishes packages for multiple programming languages.

Fern SDK Generator

Fern turns OpenAPI, AsyncAPI, OpenRPC, gRPC, or Fern Definition files into client libraries for TypeScript, Python, Go, Java, Ruby, C#, PHP, Swift, and Rust. It can generate SDK code in the cloud or locally, add package metadata, run tests, and publish packages to registries such as npm, PyPI, and Maven.

Teams use it to maintain SDKs alongside evolving APIs. The generated libraries include typed models, pagination, retries, authentication helpers, webhook verification, documentation, and code samples. The pricing page lists Free and Enterprise plans; enterprise features include self-hosting, advanced access controls, and dedicated support.

Features

  • Generate SDKs from OpenAPI, AsyncAPI, OpenRPC, gRPC, or Fern Definition files
  • Support TypeScript, Python, Go, Java, Ruby, C#, PHP, Swift, and Rust
  • Generate strongly typed models, methods, documentation, and code snippets
  • Add custom code that survives SDK regeneration
  • Generate pagination, retries, idempotency, multipart uploads, SSE, and WebSocket support
  • Generate unit, mock-server, wire, and integration tests
  • Publish packages to registries including npm, PyPI, and Maven
  • Run generation in Fern Cloud or on your own infrastructure

Use cases

  • Generate client libraries for a public API
  • Publish SDK updates when an API specification changes
  • Create consistent SDKs across several programming languages
  • Add custom helpers without losing them during regeneration
  • Test generated clients against mock servers and live APIs
  • Publish versioned packages to language-specific registries

Pros

    Cons

      Pricing

      Starting price
      Free
      Pricing checked
      2026-09-19

      Free

      $0/mo

      • 10 team members
      • 1,000 pages
      • 250 AI credits per month
      • 2,000 page generations per month
      • Custom domain and subpath
      • Guides, API references, and changelogs
      • API explorer and web editor
      • Ask Fern, Fern Agent, and MCP server

      Enterprise

      Custom

      • SSO, SCIM, and advanced RBAC
      • Multiple repos and docs instances
      • Custom CSS, JavaScript, and React components
      • Advanced analytics and data exports
      • Dedicated infrastructure, with self-hosting available
      • Uptime SLA, dedicated support, and enterprise MSA
      Official website